package com.yequan.object;

import com.yequan.work.CouponInfo;
import com.yequan.work.CouponSetInfo;
import com.yequan.work.JsonMapper;
import org.springframework.beans.BeanUtils;

import java.util.ArrayList;
import java.util.List;

/**
 * @author yequan
 * @date 2022/01/17 16:41
 **/
public class ObjectCopy {

    public static void main(String[] args) {
        beanUtilCopy();
    }

    public static void beanUtilCopy(){
        String couponListStr = "[\n" +
                "        {\n" +
                "          \"assign_time\": \"20210309154107\",\n" +
                "          \"code\": \"371074-p9g558h\",\n" +
                "          \"couponSetInfo\": {\n" +
                "            \"car_type_desc\": \"限金杯/艾康尼克可用\",\n" +
                "            \"city_desc\": \"全国可用\",\n" +
                "            \"city_id\": \"0\",\n" +
                "            \"city_ids\": \"0\",\n" +
                "            \"code_rule\": \"general\",\n" +
                "            \"count_pre\": 10,\n" +
                "            \"coupon_type\": \"1\",\n" +
                "            \"description\": \"\",\n" +
                "            \"discount\": \"1.00\",\n" +
                "            \"end_time\": \"20210430235959\",\n" +
                "            \"expire_notify_push_content\": \"\",\n" +
                "            \"expire_notify_sms_content\": \"\",\n" +
                "            \"expire_notify_wx_content\": \"\",\n" +
                "            \"general_code\": \"p9g558h\",\n" +
                "            \"id\": \"371074\",\n" +
                "            \"order_desc\": \"全部顺风车订单可用\",\n" +
                "            \"order_type_allowed\": \"all\",\n" +
                "            \"order_value_min\": \"0.00\",\n" +
                "            \"passenger_tags\": \"\",\n" +
                "            \"quantity\": \"10\",\n" +
                "            \"ride_type\": \"70,71,72,73\",\n" +
                "            \"ruleDetail\": \"\",\n" +
                "            \"rule_json\": \"{\\\"car_model\\\":\\\"1,2,711,712,713,714,715,716,717,1451,1664,1710,4530,4534,4535,4360\\\",\\\"limitArea\\\":true,\\\"operation\\\":\\\"1\\\"}\",\n" +
                "            \"special_remark\": \"\",\n" +
                "            \"start_time\": \"20210309000000\",\n" +
                "            \"title\": \"艾康妮可\",\n" +
                "            \"type\": \"5\",\n" +
                "            \"unit_cost\": \"0.00\",\n" +
                "            \"unit_price\": \"30.00\",\n" +
                "            \"use_type\": \"CPS\",\n" +
                "            \"user_daily_max\": \"10\",\n" +
                "            \"user_type_allowed\": \"all\",\n" +
                "            \"valid_begin_date\": \"\",\n" +
                "            \"valid_begin_time\": \"20210309000000\",\n" +
                "            \"valid_date\": \"\",\n" +
                "            \"valid_end_date\": \"\",\n" +
                "            \"valid_end_time\": \"20210430235959\",\n" +
                "            \"valid_week\": \"1|2|3|4|5|6|7\",\n" +
                "            \"value_min_desc\": \"无门槛\"\n" +
                "          },\n" +
                "          \"create_time\": \"20210309154107\",\n" +
                "          \"enable\": \"1\",\n" +
                "          \"expire_desc\": \"\",\n" +
                "          \"expire_time\": \"20210430235959\",\n" +
                "          \"id\": \"729296330307928065\",\n" +
                "          \"order_id\": \"0\",\n" +
                "          \"price\": \"30.00\",\n" +
                "          \"real_unit_price\": \"30.00\",\n" +
                "          \"status\": \"new\",\n" +
                "          \"to_expire\": 0,\n" +
                "          \"unable_reason\": \"\",\n" +
                "          \"use_time\": \"\",\n" +
                "          \"user_id\": \"149293934\",\n" +
                "          \"valid_begin_time\": \"20210309154107\",\n" +
                "          \"valid_time_desc\": \"2021.04.30 23:59:59之前有效\"\n" +
                "        },\n" +
                "        {\n" +
                "          \"assign_time\": \"20210309154106\",\n" +
                "          \"code\": \"371074-p9g558h\",\n" +
                "          \"couponSetInfo\": {\n" +
                "            \"car_type_desc\": \"限金杯/艾康尼克可用\",\n" +
                "            \"city_desc\": \"全国可用\",\n" +
                "            \"city_id\": \"0\",\n" +
                "            \"city_ids\": \"0\",\n" +
                "            \"code_rule\": \"general\",\n" +
                "            \"count_pre\": 10,\n" +
                "            \"coupon_type\": \"1\",\n" +
                "            \"description\": \"\",\n" +
                "            \"discount\": \"1.00\",\n" +
                "            \"end_time\": \"20210430235959\",\n" +
                "            \"expire_notify_push_content\": \"\",\n" +
                "            \"expire_notify_sms_content\": \"\",\n" +
                "            \"expire_notify_wx_content\": \"\",\n" +
                "            \"general_code\": \"p9g558h\",\n" +
                "            \"id\": \"371074\",\n" +
                "            \"order_desc\": \"全部顺风车订单可用\",\n" +
                "            \"order_type_allowed\": \"all\",\n" +
                "            \"order_value_min\": \"0.00\",\n" +
                "            \"passenger_tags\": \"\",\n" +
                "            \"quantity\": \"10\",\n" +
                "            \"ride_type\": \"70,71,72,73\",\n" +
                "            \"ruleDetail\": \"\",\n" +
                "            \"rule_json\": \"{\\\"car_model\\\":\\\"1,2,711,712,713,714,715,716,717,1451,1664,1710,4530,4534,4535,4360\\\",\\\"limitArea\\\":true,\\\"operation\\\":\\\"1\\\"}\",\n" +
                "            \"special_remark\": \"\",\n" +
                "            \"start_time\": \"20210309000000\",\n" +
                "            \"title\": \"艾康妮可\",\n" +
                "            \"type\": \"5\",\n" +
                "            \"unit_cost\": \"0.00\",\n" +
                "            \"unit_price\": \"30.00\",\n" +
                "            \"use_type\": \"CPS\",\n" +
                "            \"user_daily_max\": \"10\",\n" +
                "            \"user_type_allowed\": \"all\",\n" +
                "            \"valid_begin_date\": \"\",\n" +
                "            \"valid_begin_time\": \"20210309000000\",\n" +
                "            \"valid_date\": \"\",\n" +
                "            \"valid_end_date\": \"\",\n" +
                "            \"valid_end_time\": \"20210430235959\",\n" +
                "            \"valid_week\": \"1|2|3|4|5|6|7\",\n" +
                "            \"value_min_desc\": \"无门槛\"\n" +
                "          },\n" +
                "          \"create_time\": \"20210309154106\",\n" +
                "          \"enable\": \"1\",\n" +
                "          \"expire_desc\": \"\",\n" +
                "          \"expire_time\": \"20210430235959\",\n" +
                "          \"id\": \"729296321717993472\",\n" +
                "          \"order_id\": \"0\",\n" +
                "          \"price\": \"30.00\",\n" +
                "          \"real_unit_price\": \"30.00\",\n" +
                "          \"status\": \"new\",\n" +
                "          \"to_expire\": 0,\n" +
                "          \"unable_reason\": \"\",\n" +
                "          \"use_time\": \"\",\n" +
                "          \"user_id\": \"149293934\",\n" +
                "          \"valid_begin_time\": \"20210309154106\",\n" +
                "          \"valid_time_desc\": \"2021.04.30 23:59:59之前有效\"\n" +
                "        },\n" +
                "        {\n" +
                "          \"assign_time\": \"20210309154108\",\n" +
                "          \"code\": \"371074-p9g558h\",\n" +
                "          \"couponSetInfo\": {\n" +
                "            \"car_type_desc\": \"限金杯/艾康尼克可用\",\n" +
                "            \"city_desc\": \"全国可用\",\n" +
                "            \"city_id\": \"0\",\n" +
                "            \"city_ids\": \"0\",\n" +
                "            \"code_rule\": \"general\",\n" +
                "            \"count_pre\": 10,\n" +
                "            \"coupon_type\": \"1\",\n" +
                "            \"description\": \"\",\n" +
                "            \"discount\": \"1.00\",\n" +
                "            \"end_time\": \"20210430235959\",\n" +
                "            \"expire_notify_push_content\": \"\",\n" +
                "            \"expire_notify_sms_content\": \"\",\n" +
                "            \"expire_notify_wx_content\": \"\",\n" +
                "            \"general_code\": \"p9g558h\",\n" +
                "            \"id\": \"371074\",\n" +
                "            \"order_desc\": \"全部顺风车订单可用\",\n" +
                "            \"order_type_allowed\": \"all\",\n" +
                "            \"order_value_min\": \"0.00\",\n" +
                "            \"passenger_tags\": \"\",\n" +
                "            \"quantity\": \"10\",\n" +
                "            \"ride_type\": \"70,71,72,73\",\n" +
                "            \"ruleDetail\": \"\",\n" +
                "            \"rule_json\": \"{\\\"car_model\\\":\\\"1,2,711,712,713,714,715,716,717,1451,1664,1710,4530,4534,4535,4360\\\",\\\"limitArea\\\":true,\\\"operation\\\":\\\"1\\\"}\",\n" +
                "            \"special_remark\": \"\",\n" +
                "            \"start_time\": \"20210309000000\",\n" +
                "            \"title\": \"艾康妮可\",\n" +
                "            \"type\": \"5\",\n" +
                "            \"unit_cost\": \"0.00\",\n" +
                "            \"unit_price\": \"30.00\",\n" +
                "            \"use_type\": \"CPS\",\n" +
                "            \"user_daily_max\": \"10\",\n" +
                "            \"user_type_allowed\": \"all\",\n" +
                "            \"valid_begin_date\": \"\",\n" +
                "            \"valid_begin_time\": \"20210309000000\",\n" +
                "            \"valid_date\": \"\",\n" +
                "            \"valid_end_date\": \"\",\n" +
                "            \"valid_end_time\": \"20210430235959\",\n" +
                "            \"valid_week\": \"1|2|3|4|5|6|7\",\n" +
                "            \"value_min_desc\": \"无门槛\"\n" +
                "          },\n" +
                "          \"create_time\": \"20210309154108\",\n" +
                "          \"enable\": \"1\",\n" +
                "          \"expire_desc\": \"\",\n" +
                "          \"expire_time\": \"20210430235959\",\n" +
                "          \"id\": \"729296338897862656\",\n" +
                "          \"order_id\": \"0\",\n" +
                "          \"price\": \"30.00\",\n" +
                "          \"real_unit_price\": \"30.00\",\n" +
                "          \"status\": \"new\",\n" +
                "          \"to_expire\": 0,\n" +
                "          \"unable_reason\": \"\",\n" +
                "          \"use_time\": \"\",\n" +
                "          \"user_id\": \"149293934\",\n" +
                "          \"valid_begin_time\": \"20210309154108\",\n" +
                "          \"valid_time_desc\": \"2021.04.30 23:59:59之前有效\"\n" +
                "        },\n" +
                "        {\n" +
                "          \"assign_time\": \"20210426111546\",\n" +
                "          \"code\": \"378435-kXHmbzV\",\n" +
                "          \"couponSetInfo\": {\n" +
                "            \"city_desc\": \"全国可用\",\n" +
                "            \"city_id\": \"0\",\n" +
                "            \"city_ids\": \"0\",\n" +
                "            \"code_rule\": \"general\",\n" +
                "            \"count_pre\": 10,\n" +
                "            \"coupon_type\": \"1\",\n" +
                "            \"description\": \"\",\n" +
                "            \"discount\": \"1.00\",\n" +
                "            \"end_time\": \"20210531235959\",\n" +
                "            \"expire_notify_push_content\": \"\",\n" +
                "            \"expire_notify_sms_content\": \"\",\n" +
                "            \"expire_notify_wx_content\": \"\",\n" +
                "            \"general_code\": \"kXHmbzV\",\n" +
                "            \"id\": \"378435\",\n" +
                "            \"order_desc\": \"全部顺风车订单可用\",\n" +
                "            \"order_type_allowed\": \"all\",\n" +
                "            \"order_value_min\": \"0.00\",\n" +
                "            \"passenger_tags\": \"\",\n" +
                "            \"quantity\": \"200\",\n" +
                "            \"ride_type\": \"70,71,72,73\",\n" +
                "            \"ruleDetail\": \"\",\n" +
                "            \"rule_json\": \"{\\\"limitArea\\\":true,\\\"operation\\\":\\\"1\\\"}\",\n" +
                "            \"special_remark\": \"\",\n" +
                "            \"start_time\": \"20210414000000\",\n" +
                "            \"title\": \"车主满返券\",\n" +
                "            \"type\": \"5\",\n" +
                "            \"unit_cost\": \"0.00\",\n" +
                "            \"unit_price\": \"25.00\",\n" +
                "            \"use_type\": \"CPS\",\n" +
                "            \"user_daily_max\": \"10\",\n" +
                "            \"user_type_allowed\": \"all\",\n" +
                "            \"valid_begin_date\": \"\",\n" +
                "            \"valid_begin_time\": \"20210414000000\",\n" +
                "            \"valid_date\": \"\",\n" +
                "            \"valid_end_date\": \"\",\n" +
                "            \"valid_end_time\": \"20210531235959\",\n" +
                "            \"valid_week\": \"1|2|3|4|5|6|7\",\n" +
                "            \"value_min_desc\": \"无门槛\"\n" +
                "          },\n" +
                "          \"create_time\": \"20210426111546\",\n" +
                "          \"enable\": \"1\",\n" +
                "          \"expire_desc\": \"\",\n" +
                "          \"expire_time\": \"20210531235959\",\n" +
                "          \"id\": \"764783746699231233\",\n" +
                "          \"order_id\": \"0\",\n" +
                "          \"price\": \"25.00\",\n" +
                "          \"real_unit_price\": \"25.00\",\n" +
                "          \"status\": \"new\",\n" +
                "          \"to_expire\": 0,\n" +
                "          \"unable_reason\": \"\",\n" +
                "          \"use_time\": \"\",\n" +
                "          \"user_id\": \"149293934\",\n" +
                "          \"valid_begin_time\": \"20210426111546\",\n" +
                "          \"valid_time_desc\": \"2021.05.31 23:59:59之前有效\"\n" +
                "        },\n" +
                "        {\n" +
                "          \"assign_time\": \"20210304110230\",\n" +
                "          \"code\": \"370344-0SLg4ky\",\n" +
                "          \"couponSetInfo\": {\n" +
                "            \"car_type_desc\": \"限雪铁龙可用\",\n" +
                "            \"city_desc\": \"限韶关,梅州,河源,汕头,揭阳,茂名,潮州,阳江,云浮,汕尾,江门,湛江,澄迈,白沙,琼海,海口,临高,定安,儋州,万宁,保亭,东方市,三亚,五指山,三沙,陵水,文昌,琼中,屯昌,昌江,乐东可用\",\n" +
                "            \"city_id\": \"0\",\n" +
                "            \"city_ids\": \"308,263,192,306,216,261,138,374,383,307,206,395,1533,1537,1528,175,1534,1531,1517,1529,1536,1530,301,1526,1516,1540,1527,1535,1532,1538,1539\",\n" +
                "            \"code_rule\": \"general\",\n" +
                "            \"count_pre\": 10,\n" +
                "            \"coupon_type\": \"1\",\n" +
                "            \"description\": \"\",\n" +
                "            \"discount\": \"1.00\",\n" +
                "            \"end_time\": \"20210331235959\",\n" +
                "            \"expire_notify_push_content\": \"\",\n" +
                "            \"expire_notify_sms_content\": \"\",\n" +
                "            \"expire_notify_wx_content\": \"\",\n" +
                "            \"general_code\": \"0SLg4ky\",\n" +
                "            \"id\": \"370344\",\n" +
                "            \"order_desc\": \"限顺风车市内独享订单可用\",\n" +
                "            \"order_type_allowed\": \"all\",\n" +
                "            \"order_value_min\": \"0.00\",\n" +
                "            \"passenger_tags\": \"\",\n" +
                "            \"plan_start_time_desc\": \"限10:53:00-11:54:00出发可用\",\n" +
                "            \"quantity\": \"10\",\n" +
                "            \"ride_type\": \"70\",\n" +
                "            \"ruleDetail\": \"\",\n" +
                "            \"rule_json\": \"{\\\"timeLimit\\\":[{\\\"time\\\":\\\"10:53:00-11:54:00\\\"}],\\\"car_model\\\":\\\"298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,1333,1523,1569,1791,4692,4693,4695,4697,4704,4706\\\",\\\"limitArea\\\":true,\\\"operation\\\":\\\"1\\\"}\",\n" +
                "            \"special_remark\": \"测试测试车私房红烧放假啦上课；就；老地方看见啊；激发飞机拉萨的健康弗拉索夫看到监考老师的减肥动力三角阀\",\n" +
                "            \"start_time\": \"20210304000000\",\n" +
                "            \"title\": \"未到有效期\",\n" +
                "            \"type\": \"5\",\n" +
                "            \"unit_cost\": \"0.00\",\n" +
                "            \"unit_price\": \"8.12\",\n" +
                "            \"use_type\": \"CPS\",\n" +
                "            \"user_daily_max\": \"10\",\n" +
                "            \"user_type_allowed\": \"all\",\n" +
                "            \"valid_begin_date\": \"\",\n" +
                "            \"valid_begin_time\": \"20210310000000\",\n" +
                "            \"valid_date\": \"\",\n" +
                "            \"valid_end_date\": \"\",\n" +
                "            \"valid_end_time\": \"20210430235959\",\n" +
                "            \"valid_week\": \"1|2|3|4|5\",\n" +
                "            \"value_min_desc\": \"无门槛\",\n" +
                "            \"week_rule_desc\": \"限周一至周五可用\"\n" +
                "          },\n" +
                "          \"create_time\": \"20210304110230\",\n" +
                "          \"enable\": \"1\",\n" +
                "          \"expire_desc\": \"\",\n" +
                "          \"expire_time\": \"20210430235959\",\n" +
                "          \"id\": \"725441880627609601\",\n" +
                "          \"order_id\": \"0\",\n" +
                "          \"price\": \"8.12\",\n" +
                "          \"real_unit_price\": \"8.12\",\n" +
                "          \"status\": \"new\",\n" +
                "          \"to_expire\": 0,\n" +
                "          \"unable_reason\": \"\",\n" +
                "          \"use_time\": \"\",\n" +
                "          \"user_id\": \"149293934\",\n" +
                "          \"valid_begin_time\": \"20210310000000\",\n" +
                "          \"valid_time_desc\": \"2021.04.30 23:59:59之前有效\"\n" +
                "        },\n" +
                "        {\n" +
                "          \"assign_time\": \"20210303204138\",\n" +
                "          \"code\": \"370174-Dn6FS6M\",\n" +
                "          \"couponSetInfo\": {\n" +
                "            \"city_desc\": \"限德阳,南宁,淮安,扬州,徐州,宿迁,泰州,盐城,连云港,常州,镇江,南昌,保定,衢州,丽水,绍兴,湖州,舟山,温州,福州,莆田,贵阳可用\",\n" +
                "            \"city_id\": \"0\",\n" +
                "            \"city_ids\": \"154,266,196,98,347,319,321,364,234,61,387,265,112,294,252,297,179,400,339,53,281,167\",\n" +
                "            \"code_rule\": \"general\",\n" +
                "            \"count_pre\": 2,\n" +
                "            \"coupon_type\": \"1\",\n" +
                "            \"description\": \"\",\n" +
                "            \"discount\": \"1.00\",\n" +
                "            \"end_time\": \"20210331235959\",\n" +
                "            \"expire_notify_push_content\": \"\",\n" +
                "            \"expire_notify_sms_content\": \"\",\n" +
                "            \"expire_notify_wx_content\": \"\",\n" +
                "            \"general_code\": \"Dn6FS6M\",\n" +
                "            \"id\": \"370174\",\n" +
                "            \"order_desc\": \"限顺风车城际订单可用\",\n" +
                "            \"order_type_allowed\": \"all\",\n" +
                "            \"order_value_min\": \"10.00\",\n" +
                "            \"passenger_tags\": \"\",\n" +
                "            \"plan_start_time_desc\": \"限18:38:00-19:39:00/20:39:00-21:39:00出发可用\",\n" +
                "            \"quantity\": \"10\",\n" +
                "            \"ride_type\": \"72,73\",\n" +
                "            \"ruleDetail\": \"\",\n" +
                "            \"rule_json\": \"{\\\"timeLimit\\\":[{\\\"time\\\":\\\"18:38:00-19:39:00\\\"},{\\\"time\\\":\\\"20:39:00-21:39:00\\\"}],\\\"limitArea\\\":true,\\\"operation\\\":\\\"1\\\"}\",\n" +
                "            \"special_remark\": \"123445\",\n" +
                "            \"start_time\": \"20210303000000\",\n" +
                "            \"title\": \"1\",\n" +
                "            \"type\": \"5\",\n" +
                "            \"unit_cost\": \"0.00\",\n" +
                "            \"unit_price\": \"1.00\",\n" +
                "            \"use_type\": \"CPS\",\n" +
                "            \"user_daily_max\": \"10\",\n" +
                "            \"user_type_allowed\": \"all\",\n" +
                "            \"valid_begin_date\": \"\",\n" +
                "            \"valid_begin_time\": \"20210303000000\",\n" +
                "            \"valid_date\": \"\",\n" +
                "            \"valid_end_date\": \"\",\n" +
                "            \"valid_end_time\": \"20210430235959\",\n" +
                "            \"valid_week\": \"1|2|4|5|6|7\",\n" +
                "            \"value_min_desc\": \"满10元可返利\",\n" +
                "            \"week_rule_desc\": \"限周一至周二,周四至周日可用\"\n" +
                "          },\n" +
                "          \"create_time\": \"20210303204138\",\n" +
                "          \"enable\": \"1\",\n" +
                "          \"expire_desc\": \"\",\n" +
                "          \"expire_time\": \"20210430235959\",\n" +
                "          \"id\": \"724998193326063616\",\n" +
                "          \"order_id\": \"0\",\n" +
                "          \"price\": \"1.00\",\n" +
                "          \"real_unit_price\": \"1.00\",\n" +
                "          \"status\": \"new\",\n" +
                "          \"to_expire\": 0,\n" +
                "          \"unable_reason\": \"\",\n" +
                "          \"use_time\": \"\",\n" +
                "          \"user_id\": \"149293934\",\n" +
                "          \"valid_begin_time\": \"20210303204138\",\n" +
                "          \"valid_time_desc\": \"2021.04.30 23:59:59之前有效\"\n" +
                "        },\n" +
                "        {\n" +
                "          \"assign_time\": \"20210303204139\",\n" +
                "          \"code\": \"370174-Dn6FS6M\",\n" +
                "          \"couponSetInfo\": {\n" +
                "            \"city_desc\": \"限德阳,南宁,淮安,扬州,徐州,宿迁,泰州,盐城,连云港,常州,镇江,南昌,保定,衢州,丽水,绍兴,湖州,舟山,温州,福州,莆田,贵阳可用\",\n" +
                "            \"city_id\": \"0\",\n" +
                "            \"city_ids\": \"154,266,196,98,347,319,321,364,234,61,387,265,112,294,252,297,179,400,339,53,281,167\",\n" +
                "            \"code_rule\": \"general\",\n" +
                "            \"count_pre\": 2,\n" +
                "            \"coupon_type\": \"1\",\n" +
                "            \"description\": \"\",\n" +
                "            \"discount\": \"1.00\",\n" +
                "            \"end_time\": \"20210331235959\",\n" +
                "            \"expire_notify_push_content\": \"\",\n" +
                "            \"expire_notify_sms_content\": \"\",\n" +
                "            \"expire_notify_wx_content\": \"\",\n" +
                "            \"general_code\": \"Dn6FS6M\",\n" +
                "            \"id\": \"370174\",\n" +
                "            \"order_desc\": \"限顺风车城际订单可用\",\n" +
                "            \"order_type_allowed\": \"all\",\n" +
                "            \"order_value_min\": \"10.00\",\n" +
                "            \"passenger_tags\": \"\",\n" +
                "            \"plan_start_time_desc\": \"限18:38:00-19:39:00/20:39:00-21:39:00出发可用\",\n" +
                "            \"quantity\": \"10\",\n" +
                "            \"ride_type\": \"72,73\",\n" +
                "            \"ruleDetail\": \"\",\n" +
                "            \"rule_json\": \"{\\\"timeLimit\\\":[{\\\"time\\\":\\\"18:38:00-19:39:00\\\"},{\\\"time\\\":\\\"20:39:00-21:39:00\\\"}],\\\"limitArea\\\":true,\\\"operation\\\":\\\"1\\\"}\",\n" +
                "            \"special_remark\": \"123445\",\n" +
                "            \"start_time\": \"20210303000000\",\n" +
                "            \"title\": \"1\",\n" +
                "            \"type\": \"5\",\n" +
                "            \"unit_cost\": \"0.00\",\n" +
                "            \"unit_price\": \"1.00\",\n" +
                "            \"use_type\": \"CPS\",\n" +
                "            \"user_daily_max\": \"10\",\n" +
                "            \"user_type_allowed\": \"all\",\n" +
                "            \"valid_begin_date\": \"\",\n" +
                "            \"valid_begin_time\": \"20210303000000\",\n" +
                "            \"valid_date\": \"\",\n" +
                "            \"valid_end_date\": \"\",\n" +
                "            \"valid_end_time\": \"20210430235959\",\n" +
                "            \"valid_week\": \"1|2|4|5|6|7\",\n" +
                "            \"value_min_desc\": \"满10元可返利\",\n" +
                "            \"week_rule_desc\": \"限周一至周二,周四至周日可用\"\n" +
                "          },\n" +
                "          \"create_time\": \"20210303204139\",\n" +
                "          \"enable\": \"1\",\n" +
                "          \"expire_desc\": \"\",\n" +
                "          \"expire_time\": \"20210430235959\",\n" +
                "          \"id\": \"724998201915998209\",\n" +
                "          \"order_id\": \"0\",\n" +
                "          \"price\": \"1.00\",\n" +
                "          \"real_unit_price\": \"1.00\",\n" +
                "          \"status\": \"new\",\n" +
                "          \"to_expire\": 0,\n" +
                "          \"unable_reason\": \"\",\n" +
                "          \"use_time\": \"\",\n" +
                "          \"user_id\": \"149293934\",\n" +
                "          \"valid_begin_time\": \"20210303204139\",\n" +
                "          \"valid_time_desc\": \"2021.04.30 23:59:59之前有效\"\n" +
                "        }\n" +
                "      ]";
        List<CouponInfo> couponInfos = JsonMapper.json2List(couponListStr, CouponInfo.class);
        List<CouponInfo> couponInfoList = new ArrayList<>();
        for (CouponInfo couponInfo : couponInfos) {
            CouponInfo copyCouponInfo = new CouponInfo();
            BeanUtils.copyProperties(couponInfo, copyCouponInfo);
            couponInfoList.add(copyCouponInfo);
        }
        CouponInfo couponInfo = couponInfoList.get(0);
        CouponSetInfo couponSetInfo = couponInfo.getCouponSetInfo();
        System.out.println(couponSetInfo);
    }

}
